package dfl.bysj.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author DFL
 * @since 2022-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Academy对象", description="")
public class UpdateInformation implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer useId;
    private Integer stuId;
    private String stuName;

    private Integer graId;

    private Integer stuPhone;
    //1-通过审核,2-未通过审核，3-待审核
    private Integer passState;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    public UpdateInformation(Integer stuId, Integer useId, String stuName, Integer graId, Integer stuPhone, Integer passState) {
        this.stuId = stuId;
        this.useId = useId;
        this.stuName = stuName;
        this.graId = graId;
        this.stuPhone = stuPhone;
        this.passState = passState;
    }

    public UpdateInformation() {
    }
}
